package com.example.administrator.tenyuanpackage.home.net;

import com.example.administrator.tenyuanpackage.home.bean.PreferentialBean;
import com.example.administrator.tenyuanpackage.home.bean.ResultBean;
import com.example.administrator.tenyuanpackage.home.bean.ResultsGoodsBean;

import java.util.ArrayList;
import java.util.Map;

import retrofit2.http.GET;
import retrofit2.http.QueryMap;
import rx.Observable;

/**
 * Created by zwq on 2017/2/27.
 */

public interface IApi {

    @GET("indexad.aspx")
    Observable<ResultBean> getLoopData(@QueryMap Map<String,String> map);

    @GET("app.aspx")
    Observable<ArrayList<PreferentialBean>> getPreferentialData();

    @GET("productlist.aspx")
    Observable<ResultsGoodsBean> getGoodsData(@QueryMap Map<String,String> map);
}
